package com.monitor.entity;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 销售维修-车辆维修临时表
 * </p>
 *
 * @author LX
 * @since 2018-09-12
 */
@TableName("erp_sale_repair_garage_temporary")
public class ErpSaleRepairGarageTemporary extends Model<ErpSaleRepairGarageTemporary> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @TableField("order_id")
    private Integer orderId;
    /**
     * 汽修项目
     */
    @TableField("garage_project")
    private String garageProject;
    /**
     * 维修项目
     */
    @TableField("repair_project")
    private String repairProject;
    /**
     * 维修方式
     */
    @TableField("repair_mode")
    private String repairMode;
    /**
     * 工时费用
     */
    @TableField("repair_cost")
    private String repairCost;
    /**
     * 备注
     */
    @TableField("repair_remarks")
    private String repairRemarks;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public String getGarageProject() {
        return garageProject;
    }

    public void setGarageProject(String garageProject) {
        this.garageProject = garageProject;
    }

    public String getRepairProject() {
        return repairProject;
    }

    public void setRepairProject(String repairProject) {
        this.repairProject = repairProject;
    }

    public String getRepairMode() {
        return repairMode;
    }

    public void setRepairMode(String repairMode) {
        this.repairMode = repairMode;
    }

    public String getRepairCost() {
        return repairCost;
    }

    public void setRepairCost(String repairCost) {
        this.repairCost = repairCost;
    }

    public String getRepairRemarks() {
        return repairRemarks;
    }

    public void setRepairRemarks(String repairRemarks) {
        this.repairRemarks = repairRemarks;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "ErpSaleRepairGarageTemporary{" +
        ", id=" + id +
        ", orderId=" + orderId +
        ", garageProject=" + garageProject +
        ", repairProject=" + repairProject +
        ", repairMode=" + repairMode +
        ", repairCost=" + repairCost +
        ", repairRemarks=" + repairRemarks +
        "}";
    }
}
